package com.hoas.api.manager.entity;

import com.baomidou.mybatisplus.annotations.TableField;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhangQingmu123
 * @since 2018-01-04
 */
public class BeanBusinessApi implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer apiId;
    private String businessId;

    @TableField("class")
    private String clazz;

    private String method;
    /**
     * 是否需要token 0 - 否 1-是
     */
    private String needToken;


    public Integer getApiId() {
        return apiId;
    }

    public void setApiId(Integer apiId) {
        this.apiId = apiId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getNeedToken() {
        return needToken;
    }

    public void setNeedToken(String needToken) {
        this.needToken = needToken;
    }

    @Override
    public String toString() {
        return "BeanBusinessApi{" +
        "apiId=" + apiId +
        ", businessId=" + businessId +
        ", class=" + clazz +
        ", method=" + method +
        ", needToken=" + needToken +
        "}";
    }
}
